﻿using System;
using System.Linq;
using WorldIndex.Services.Countries.Web.DataModel;

namespace WorldIndex.Web
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            var entities = new WorldIndexEntities();
            var countries = entities.MdgCountry.OrderBy(c => c.Name);
            rpTestCountryListing.DataSource = countries;
            rpTestCountryListing.DataBind();
        }
    }
}
